<template>
  <van-tabbar v-model="active" safe-area-inset-bottom placeholder route>
    <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item to="/queans" icon="comment-o">问答</van-tabbar-item>
    <van-tabbar-item to="/video" icon="video-o">视频</van-tabbar-item>
    <van-tabbar-item to="/profile" icon="manager-o">{{$store.state.USER_TOKEN?'我的':'未登录'}}</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  name: "TabBar",
  components: {},
  data() {
    return {
      active:0
    };
  },
  methods: {}
};
</script>

<style scoped lang="stylus"></style>